package com.jic.manager.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.manager.entity.JobManagement;
import com.jic.manager.request.JobManagementRequest;
import com.jic.manager.response.JobManagementResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 岗位管理
 * @author : 
 * @email : 
 * @since : 2020-02-26 09:40:52
 * @version : v1.0.0
 */
@Mapper
public interface  JobManagementMapper {

    long insert(JobManagement management);

    long delete(Long id);

    long update(JobManagement management);

    JobManagement queryByPrimaryKey(Long id);

    List<JobManagement> query(JobManagement jobManagement);

    List<JobManagement> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("jobManagement") JobManagement jobManagement);

    long queryPageCount(JobManagement jobManagement);

    List<JobManagementResponse> getJobList(@Param("jobManagementRequest") JobManagementRequest jobManagementRequest);

    Long getJobListCount(@Param("jobManagementRequest") JobManagementRequest jobManagementRequest);
}